package icu.lookyousmileface.service.Impl;

import icu.lookyousmileface.service.TicketService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * @author starrysky
 * @title: TicketServiceImpl
 * @projectName dubbo_zookeeper
 * @description: implements layer
 * zookeeper：服务注册与发现
 * @date 2021/2/1112:58
 */
@Service //这是dubbo的service注解切记，服务已启动就会加入到注册中心
@Component
public class TicketServiceImpl implements TicketService {
    @Override
    public String getTicket() {
        return "校园一日游";
    }
}
